﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
  <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
<%
    if (Request.IsAuthenticated) {
%>
      <span>  שלום <b><%= Html.Encode(Page.User.Identity.Name) %></b>!
         <%= Html.ActionLink("יציאה", "LogOff", "Account") %> </span>
<%
    }
    else {
%> 
        <span>שלום אורח, <%= Html.ActionLink("התחבר", "LogOn", "Account") %> | <%= Html.ActionLink("הרשם", "Register", "Account") %>  </span>
<%
    }
%>
